//
//  CWUserRegisterInfo.m
//  paytong
//
//  Created by 王 友宏 on 11-1-3.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import "CWUserRegisterInfo.h"


@implementation CWUserRegisterInfo

-(void)initInfoList
{
	infoList = [[NSMutableArray alloc] initWithObjects:@"RG0000",@"null",@"null",@"null",@"null",@"null",@"null",@"null",@"null",@"null",@"null",@"null",@"null",@"null",@"null",nil];
}

-(NSString *)getSendString
{
	return [infoList componentsJoinedByString:@"|"];
}

-(void)setUserID:(NSString *)strValue
{
	[infoList replaceObjectAtIndex:1 withObject:strValue];
}

-(void)setPassword:(NSString *)strValue
{
	[infoList replaceObjectAtIndex:2 withObject:strValue];
}

-(void)setIDNo:(NSString *)strValue
{
	[infoList replaceObjectAtIndex:3 withObject:strValue];
}

-(void)setUserName:(NSString *)strValue
{
	[infoList replaceObjectAtIndex:4 withObject:strValue];
}

-(void)setEmail:(NSString *)strValue
{
	[infoList replaceObjectAtIndex:5 withObject:strValue];
}

-(void)setMobil:(NSString *)strValue
{
	[infoList replaceObjectAtIndex:6 withObject:strValue];
}

-(void)setPhone:(NSString *)strValue
{
	[infoList replaceObjectAtIndex:7 withObject:strValue];
}

-(void)setAddress:(NSString *)strValue
{
	[infoList replaceObjectAtIndex:8 withObject:strValue];
}

-(void)setCode:(NSString *)strValue
{
	[infoList replaceObjectAtIndex:9 withObject:strValue];
}

-(void)setSex:(NSString *)strValue
{
	[infoList replaceObjectAtIndex:10 withObject:strValue];
}

-(void)setPSQ1:(NSString *)strValue
{
	[infoList replaceObjectAtIndex:11 withObject:strValue];
}

-(void)setPSA1:(NSString *)strValue
{
	[infoList replaceObjectAtIndex:12 withObject:strValue];
}

-(void)setPSQ2:(NSString *)strValue
{
	[infoList replaceObjectAtIndex:13 withObject:strValue];
}

-(void)setPSA2:(NSString *)strValue
{
	[infoList replaceObjectAtIndex:14 withObject:strValue];
}

-(void)dealloc
{
	[infoList release];
	[super dealloc];
}

@end
